/* 行为相关颜色 */
$uni-color-primary: #007aff;
$uni-color-success: #4cd964;
$uni-color-warning: #f0ad4e;
$uni-color-error: #dd524d;

/* 文字基本颜色 */
$uni-text-color:#333;//基本色
$uni-text-color-inverse:#fff;//反色
$uni-text-color-grey:#999;//辅助灰色，如加载更多的提示信息
$uni-text-color-placeholder: #808080;
$uni-text-color-disable:#c0c0c0;

/* 背景颜色 */
$uni-bg-color:#ffffff;
$uni-bg-color-grey:#f8f8f8;
$uni-bg-color-hover:#f1f1f1;//点击状态颜色
$uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色

/* 边框颜色 */
$uni-border-color:#c8c7cc;

/* 尺寸变量 */

/* 文字尺寸 */
$uni-font-size-sm:12px;
$uni-font-size-base:14px;
$uni-font-size-lg:16;

/* 图片尺寸 */
$uni-img-size-sm:20px;
$uni-img-size-base:26px;
$uni-img-size-lg:40px;

/* Border Radius */
$uni-border-radius-sm: 2px;
$uni-border-radius-base: 3px;
$uni-border-radius-lg: 6px;
$uni-border-radius-circle: 50%;

/* 水平间距 */
$uni-spacing-row-sm: 5px;
$uni-spacing-row-base: 10px;
$uni-spacing-row-lg: 15px;

/* 垂直间距 */
$uni-spacing-col-sm: 4px;
$uni-spacing-col-base: 8px;
$uni-spacing-col-lg: 12px;

/* 透明度 */
$uni-opacity-disabled: 0.3; // 组件禁用态的透明度

/* 文章场景相关 */
$uni-color-title: #2C405A; // 文章标题颜色
$uni-font-size-title:20px;
$uni-color-subtitle: #555555; // 二级标题颜色
$uni-font-size-subtitle:26px;
$uni-color-paragraph: #3F536E; // 文章段落颜色
$uni-font-size-paragraph:15px;

$dcolor: #FB652E;
$backColor: #F5F5F7;
$dfont: 26rpx;
$dborder: #E6E6F0;
$dfontColor: #16161F;
$dHoverColor: rgba(251, 101, 46, 0.1);
$dmask: rgba(0, 0, 0, 0.2);
$dmask: rgba(0, 0, 0, 0.2);
$dactive: rgba(243, 244, 245, 0.4);

/* 颜色规范 */
// 标题、正文
$title-color: #2C2C2E;
// 副标题，描述文字
$content-color: #8E8E93;
// 输入框提示文字
$placeholder-color: #D1D1D6;
// 输入框线框
$input-boder-color: #E5E5EA;
// 分割线
$line-color: #F0F0F2;
// 灰色背景
$background-color: #F5F5F7;
// 主题色
$theme-color: #FB652E;
// 辅助文字颜色
$help-color: #5C6D80;



@mixin dbutton($height: 88rpx, $bgcolor: #FB652E, $color: #fff, $width: 100%) {
	height: $height !important;
	line-height: $height !important;
	color: $color !important;
	background: $bgcolor !important;
	font-size: 32rpx;
	font-family: PingFangSC-Medium, PingFang SC;
	width: $width;
	border: none;
};

@mixin dinput($height: 96rpx) {
	border: none;
	border-bottom: 1px solid #E6E6F0;
	height: $height !important;
	line-height: $height !important;
};

@mixin dcard($radius: 16rpx, $w: 48rpx, $p: 32rpx) {
	border-radius: $radius;
	width: calc(100% - $w);
	padding: $p;
	margin: 0 auto;
	background-color: #fff
};

@mixin card($radius: 8rpx) {
	width: calc(100vw - 32rpx);
	margin: 0 auto;
	background-color: #fff;
	border-radius: $radius;
}

@mixin titlefont($size: 32rpx, $warp: nowrap) {
	font-size: $size;
	color: #2C2C2E;
	font-family: PingFangSC-Medium, PingFang SC;
	white-space: $warp;
	font-weight: 500;
};

@mixin dfont($size: 28rpx) {
	font-size: $size;
	font-family: PingFangSC-Regular, PingFang SC;
	font-weight: 400;
	color: #2C2C2E;
};
@mixin contentfont($size: 26rpx) {
	font-size: $size;
	font-family: PingFangSC-Regular, PingFang SC;
	font-weight: 400;
	color: $content-color;
};

@mixin dprice($size: 26rpx) {
	font-size: $size;
	font-family: DINAlternate-Bold, DINAlternate;
	font-weight: bold;
	color: #2C2C2E;
};

@mixin flexRS {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
};
@mixin flexRC {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
};
@mixin flexR {
	display: flex;
	flex-direction: row;
	align-items: center;
};
@mixin flexC {
	display: flex;
	flex-direction: column;
	
};

@mixin flexCC {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	
};

@mixin overflow {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
};
@mixin flowline($line: 2) {
	overflow: hidden;
	-webkit-line-clamp: $line;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
};
@mixin warp {
	white-space: wrap;
	word-break: break-all;
}

@mixin dWeight {
	font-weight: bold !important;
};

